package com.yzh.zhipu.model.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * EventSource的Type类型对应的枚举
 * v4版本模型使用该方式判断无效
 */
@Getter
@AllArgsConstructor
public enum EventType {

    add("add", "增量"),
    finish("finish", "结束"),
    error("error", "错误"),
    interrupted("interrupted", "中断"),

    ;
    private final String code;
    private final String info;

}